package com.leapp.sk.ui.adapter

import android.content.Context
import com.example.mvp.adapter.BaseLibAdapter
import com.example.mvp.binder.BaseDataBinder
import com.leapp.sk.bean.LevelEntity
import com.leapp.sk.binder.BaseBinder
import com.leapp.sk.viewdelegate.adapter.level.LevelAdapterDelegate

/**
 * 请假列表适配器
 * @author  chaohaipeng  on 2018/8/4.
 */
class LevelAdapter (context: Context, mlist: List<LevelEntity>): BaseLibAdapter<LevelAdapterDelegate, LevelEntity>(context,mlist){

    /**
     * 表情数据
     */
    val mList = mlist
    /**
     * 上下文
     */
    val mContext = context
    override fun bindEvenListener(viewDelegate: LevelAdapterDelegate?, position: Int) {
    }

    override fun notifyView(viewDelegate: LevelAdapterDelegate?, position: Int) {
    }

    override fun getDelegateClass(): Class<LevelAdapterDelegate> {
        return LevelAdapterDelegate::class.java
    }

    override fun getDataBinder(): BaseDataBinder<*, *> {
        return BaseBinder()
    }
}